/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.exhibitionhall.entity;

import javax.validation.constraints.NotNull;
import java.util.Date;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;
import lombok.Data;

/**
 * 展厅列表Entity
 * @author zhych
 * @version 2021-12-08
 */
@Data
public class ExhibitionHall extends DataEntity<ExhibitionHall> {
	
	private static final long serialVersionUID = 1L;
	@ExcelField(title="展厅名称", align=2, sort=1)
	private String title;		// 展厅名称
	@ExcelField(title="展厅地址", align=2, sort=2)
	private String address;		// 展厅地址
    @NotNull(message="排序不能为空")
	@ExcelField(title="排序", align=2, sort=3)
	private Integer sort;		// 排序
	private Date beginCreateDate;		// 开始 创建时间
	private Date endCreateDate;		// 结束 创建时间
	
	public ExhibitionHall() {
		super();
	}
	
	public ExhibitionHall(String id){
		super(id);
	}
}